"""Setup the mynewsweb application"""
import logging

from mynewsweb.config.environment import load_environment
from mynewsweb.model import meta

log = logging.getLogger(__name__)

def setup_app(command, conf, vars):
    """Place any commands to setup mynewsweb here"""
    conf.local_conf['schemabot.update_database'] = True
    load_environment(conf.global_conf, conf.local_conf)
